//
//  YCImageView.m
//  货运代码
//
//  Created by 刘胤辰 on 16/5/5.
//  Copyright © 2016年 温泉. All rights reserved.
//

#import "YCImageView.h"

@implementation YCImageView

+(instancetype)initWithImageName:(NSString *)name Frame:(CGRect)frame{
    
    YCImageView *YCImage=[[YCImageView alloc]initWithFrame:frame];
    YCImage.image=[UIImage imageNamed:name];
    
    return YCImage;
}

@end
